package com.yunshipei.model;


import java.io.Serializable;
import java.util.List;

/**
 * Created by cike on 16/5/6.
 */
public class YspEvent {

    public static class ConnectEvent {
    }

    public static class DeleteGroupMember {
        String uuids = "";
        String gid = "";

        public DeleteGroupMember(String uuids, String gid) {
            this.uuids = uuids;
            this.gid = gid;
        }

        public String getUuids() {
            return this.uuids;
        }

        public String getGid() {
            return this.gid;
        }
    }

    public static class RefreshCommonContact {

    }

    public static class AllContactsSuccess {
        private String uuid = "";
        private String token = "";

        public AllContactsSuccess(String uuid, String token) {
            this.uuid = uuid;
            this.token = token;
        }

        public String getUuid() {
            return uuid;
        }

        public String getToken() {
            return token;
        }
    }

    /**
     * Refresh main adapter event
     */
    public static class RefreshMainAdapterEvent {
        //状态
        private int status = 0;

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }

    public static class CollectionApp {
        public CollectionItemData collectionDataItem;

        public CollectionApp(CollectionItemData collectionDataItem) {
            this.collectionDataItem = collectionDataItem;
        }
    }

    public static class UpdateTabCount {
    }

    public static class NetChangeEvent {

        private boolean isWifi = false;
        private String wifiSSID = "";
        private boolean netConnected = true;

        public NetChangeEvent() {

        }

        public NetChangeEvent(boolean isWifi) {
            this.isWifi = isWifi;
        }

        public NetChangeEvent(boolean isWifi, String wifiSSID) {
            this.isWifi = isWifi;
            this.wifiSSID = wifiSSID;
        }

        public boolean isNetConnected() {
            return netConnected;
        }

        public void setNetConnected(boolean netConnected) {
            this.netConnected = netConnected;
        }

        public boolean isWifi() {
            return isWifi;
        }

        public String getWifiSSID() {
            return wifiSSID;
        }
    }

    public static final class TopSecVPNTimeOut {
        private VPNInfo vpnInfo;

        public TopSecVPNTimeOut(VPNInfo vpnInfo) {
            this.vpnInfo = vpnInfo;
        }

        public VPNInfo getVpnInfo() {
            return vpnInfo;
        }
    }

    public static final class TopSecVPNClosed {
    }

    public static final class WPSEditDocument {
        private String fileName = "";

        public WPSEditDocument(String fileName) {
            this.fileName = fileName;
        }

        public String getFileName() {
            return fileName;
        }
    }

    public static class UserAvatarChangedEvent {
        private String uuid;
        private String data;

        public UserAvatarChangedEvent(String uuid, String data) {
            this.uuid = uuid;
            this.data = data;
        }

        public String getUuid() {
            return uuid;
        }

        public String getData() {
            return data;
        }
    }

    public static class ToolbarModelEvent {
        private boolean shouldShow;

        public ToolbarModelEvent(boolean shouldShow) {
            this.shouldShow = shouldShow;
        }

        public boolean isShouldShow() {
            return shouldShow;
        }
    }

    public static class TabChangeEvent {
        private int position;

        public TabChangeEvent(int position) {
            this.position = position;
        }

        public int getPosition() {
            return position;
        }
    }

    public static class StartBrowserEvent {

        private String url;

        public StartBrowserEvent(String url) {

            this.url = url;
        }

        public String getUrl() {
            return url;
        }
    }

    public static class MessageNumEvent {

        private int num;

        public MessageNumEvent(int num) {
            this.num = num;
        }

        public int getNum() {
            return num;
        }
    }

    public static class MessageCountClearEvent {
    }

    public static class HomeFragmentEvent {

        private String url;
        private String title;
        private String type;

        public HomeFragmentEvent(String type) {
            this.type = type;
        }

        public HomeFragmentEvent(String url, String title, String type) {
            this.url = url;
            this.title = title;
            this.type = type;
        }

        public String getUrl() {
            return url;
        }

        public String getTitle() {
            return title;
        }

        public String getType() {
            return type;
        }
    }

    public static class DepartmentBackModelEvent {
        private int tag;

        public DepartmentBackModelEvent(int tag) {
            this.tag = tag;
        }

        public int getTag() {
            return tag;
        }
    }

    public static class ClearDevicesEvent implements Serializable {

        private String messageName;
        private String messageData;
        private String GUID;
        private String deviceId;

        public String getMessageName() {
            return messageName;
        }

        public String getMessageData() {
            return messageData;
        }

        public ClearDevicesEvent() {
        }

        public ClearDevicesEvent(String messageName, String messageData) {
            this.messageName = messageName;
            this.messageData = messageData;
        }

        public void setMessageName(String messageName) {

            this.messageName = messageName;
        }

        public void setMessageData(String messageData) {
            this.messageData = messageData;
        }

        public String getGUID() {
            return GUID;
        }

        public void setGUID(String GUID) {
            this.GUID = GUID;
        }

        public String getDeviceId() {
            return deviceId;
        }

        public void setDeviceId(String deviceId) {
            this.deviceId = deviceId;
        }
    }

    public static class CaptureHomeWebViewEvent {
    }

    public static class BrowserFontSizeChange {
        private int position;

        public BrowserFontSizeChange(int position) {
            this.position = position;
        }

        public int getPosition() {
            return position;
        }
    }

    public static final class UpdateHomeApps {
        private List<HomeAppsBean> homeApps;

        public UpdateHomeApps(List<HomeAppsBean> homeApps) {
            this.homeApps = homeApps;
        }

        public List<HomeAppsBean> getHomeApps() {
            return homeApps;
        }
    }

    public static final class CaptureWebView {
    }

    public static final class ConfigProxy {
    }

    public static class PadClick {

        public PadClick(String className) {
            this.className = className;
        }

        public String className;
    }

    public static class AboutDetailClick {

        public String className;
        public String url;
        public String name;

        public AboutDetailClick(String className, String name, String url) {
            this.className = className;
            this.name = name;
            this.url = url;
        }
    }

    public static class FontSizeSetting {

    }

    public static class DevelopModeChange {
        public boolean open = false;

        public DevelopModeChange(boolean open) {
            this.open = open;
        }
    }

    public static class SWA {
    }

    public static class SWASetting {

        public SSOSettingModel ssoSettingModel;

        public SWASetting(SSOSettingModel ssoSettingModel) {
            this.ssoSettingModel = ssoSettingModel;
        }
    }

    public static final class SWASettingChange {
        public String host;

        public SWASettingChange(String host) {
            this.host = host;
        }
    }

    public static final class ModifyPwd {
    }
}
